home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Life 1995 December
/
Computer Life December 1995.iso
/
ukonline
/
media
/
otherapp
/
nologin.dl_
/
nologin
Wrap
Text File
|
1995-09-08
|
1KB
|
45 lines
// dialup and connect to a UK Online server
// Note that this does not require any
// login and password authentication during the connect process
// Beta V4 TJK 10 June 95
// SENDPRIVATE (x) sends the string associated to the entry Privatex
// Those used in tbsetup.ini define:
//
// Private1 - Modem Initialization string
// Private2 - Modem Hangup string
// Private3 - User login
// Private4 - User password
PROGON
// Uncomment the following line to see the serial line
// traffic during the execution of login script
// DEBUGON
DELAY (20)
TIMEOUT (5)
// Make two attempts to initialize the modem
REPEAT (1)
PROGTEXT ("Initializing modem")
SEND ("+++ATZ\013")
WAITTEXT ("OK")
SENDPRIVATE (1)
SEND ("\013")
WAITTEXT ("OK")
BREAKONSUCCESS ("")
END
ABORTONFAILURE ("Unable to initialize the modem")
TIMEOUT (60)
REPEAT (1)
PROGTEXT ("Dialing the UK Online Server")
SEND ("ATDT")
SENDPRIVATE (3)
SENDNUMBER
SEND ("\013")
WAITTEXT ("CONNECT")
BREAKONSUCCESS ("")
CONFIRM ("Unable to connect. Try again?")
END
ABORTONFAILURE ("Unable to establish a connection")
PROGOFF